{{#unless navItem.last}}
    <span class="navigation-item-drag-handle icon-grab">
        <span class="sr-only">排序</span>
    </span>
{{/unless}}
<div class="navigation-inputs">
    <span class="navigation-item-label">
        {{gh-trim-focus-input focus=navItem.last placeholder="名称" value=navItem.label}}
    </span>
    <span class="navigation-item-url">
        {{gh-navitem-url-input baseUrl=baseUrl url=navItem.url last=navItem.last change="updateUrl"}}
    </span>
</div>
<span class="navigation-item-action">
    {{#if navItem.last}}
        <button type="button" class="add-navigation-link icon-add" {{action "addItem"}}>
            <span class="sr-only">增加</span>
        </button>
    {{else}}
        <button type="button" class="navigation-delete icon-trash" {{action "deleteItem" navItem}}>
            <span class="sr-only">删除</span>
        </button>
    {{/if}}
</span>
